package com.kylin.module.member.business;

import java.util.List;

import com.kylin.common.exception.BusinessException;
import com.kylin.module.member.orm.Member;
import com.kylin.module.member.orm.MemberDAO;

public class BlogicBean {
    public void save(Member member) throws BusinessException{
    	MemberDAO dao = new MemberDAO();
    	dao.save(member);
    }
    
    public List list() throws BusinessException{
    	MemberDAO dao = new MemberDAO();
    	return dao.find();
    }
}
